// @ts-ignore
/* eslint-disable */
import { request } from '@umijs/max';
const apiPrefix = '/web';

/** 获取全站簇SOC检测数据 GET /health/soc/cluster */
export async function socControllerGetClusterSocData(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.socControllerGetClusterSocDataParams,
  options?: { [key: string]: any },
) {
  return request<API.SocData>(`${apiPrefix}/health/soc/cluster`, {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取重点簇SOC校验数据表 GET /health/soc/keynote */
export async function socControllerGetKeynoteClusterSocData(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.socControllerGetKeynoteClusterSocDataParams,
  options?: { [key: string]: any },
) {
  return request<API.CellData>(`${apiPrefix}/health/soc/keynote`, {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
